 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>Loseform</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
  <link href="${cdnAddress}/css/common_view_seach_table.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="LoseformListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table style="width:100%;" class="commonTable">
           	 <tr class="commonTr">
           	  <td>组织机构:</td><td><input id="orgId" name="orgId" class="mini-treeselect" url="${projectName}/OrgAdmin/queryAllOrgListByUser?orgStatus=1" multiSelect="false" 
        textField="orgName" valueField="orgId" parentField="parentOrgId" disabled showRadioButton="true" showFolderCheckBox="true"/></td>
           	 <td>业务单号:</td><td><input  class="mini-textbox"   id="woNo" name="woNo" /></td>
           	 <td>单据状态:</td><td><input  class="mini-comboBox"   id="status" name="status" textField="dicName" valueField="dicVal" url="${projectName }/DictionaryAdmin/queryDictionaryByTypeIds?typeids=78"/></td>
           	 </tr>           	 <tr class="commonTr">
           	 <td>申请类型:</td><td><input  class="mini-comboBox"   id="type" name="type" textField="dicName" valueField="dicVal" url="${projectName }/DictionaryAdmin/queryDictionaryByTypeIds?typeids=76"/></td>
           	 <td>提交人:</td><td><input  class="mini-textbox"   id="createUser" name="createUser" /></td>
			 <td colspan="2" align="right"><a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a><a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td>
          	<tr>
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission moduleName="Loseform">
                        <a class="mini-button" id="addLoseform" iconCls="icon-add" onclick="addLoseform()">增加</a>
                        <a class="mini-button" id="exportLoseform" iconCls="icon-download" onclick="exportLoseform()">导出</a>            
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="LoseformGrid" class="mini-datagrid" style="width:100%;height:100%;" onrowdblclick="onrowdblclick" 
        url="${projectName}/LoseformAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" visible="false"
           >主键</div>
            <div field="orgId" visible="false"
           >组织机构ID</div>
            <div field="orgName" 
           >组织机构名称</div>
            <div field="woNo" 
           >业务单号</div>
            <div field="type" 
           >申请类型</div>
            <div field="shopId" visible="false"
           >店铺ID</div>
            <div field="shopName" 
           >店铺名称</div>
            <div field="storageName" 
           >申请仓库</div>
            <div field="status" 
           >单据状态</div>
            <div field="reason" 
           >丢失理由</div>
            <div field="createTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss">创建日期</div>
            <div field="createUser" 
           >提交人</div>
            <div field="createUserId" visible="false"
           >提交人ID</div>
            <div field="updateTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss">最近更新时间</div>
            <div field="updateUser" 
           >最近更新人</div>
            <div field="updateUserId" visible="false"
           >更新人ID</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/loseform/LoseformList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>